package com.example.hanfu_bk.service;

import com.example.hanfu_bk.controller.ListController;
import com.example.hanfu_bk.mapper.ListMapper;
import com.example.hanfu_bk.pojo.Style;
import com.example.hanfu_bk.mapper.ListMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ListService {
    @Autowired
    private ListMapper listMapper;

    public List<Style> getList(Integer id) {
        return listMapper.getList(id);
    }
}
